@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/*
arrowscrollbox.tabbrowser-arrowscrollbox {
  -moz-binding: url("chrome://cfxhelper/content/newtab.xml#tabbrowser-arrowscrollbox") !important; }

.tabbrowser-tabs {
  -moz-binding: url("chrome://cfxhelper/content/tbrowser.xml#tabbrowser-tabs") !important; }

#main-window[onload="TMP_TBP_Startup();"] #content .tabbrowser-tabs {
  -moz-binding: url("chrome://cfxhelper/content/tabmix31.xml#scroll-tabs_3") !important; }

.tabs-frame {
  -moz-binding: url("chrome://cfxhelper/content/tabmix31.xml#tabs-frame") !important; }
*/

/* ..... cfx Toolbar buttons ..... */
#main-window[cfx-theme] #cfx-tools-button,
#main-window[cfx-theme] #cfx-control-button {
	visibility: visible;
}

#cfx-tools-button, #cfx-control-button {
  padding:  1px 3px 3px 3px !important;
  margin: 2px 1px !important;
  border: 3px solid transparent !important;
	-moz-border-radius: 6px;
	visibility: collapse;
}

#cfx-control-button > .toolbarbutton-icon,
#cfx-tools-button > .toolbarbutton-icon {
  padding: 0;
  margin: 0;
}

#cfx-control-button > .toolbarbutton-menu-dropmarker,
#cfx-tools-button > .toolbarbutton-menu-dropmarker {
  display: none !important;
}

#cfx-control-button[open="true"]:not([disabled="true"]),
#cfx-control-button:not([disabled="true"]):hover,
#cfx-tools-button[open="true"]:not([disabled="true"]),
#cfx-tools-button:not([disabled="true"]):hover {
  background: rgb(242,246,251);
	-moz-border-top-colors: rgb(236,241,247) rgb(197,208,219) rgb(245,248,252);
	-moz-border-right-colors: rgb(228,236,246) rgb(197,208,219) rgb(242,246,251);
	-moz-border-bottom-colors: rgb(218,229,243) rgb(197,208,219) rgb(242,246,251);
	-moz-border-left-colors: rgb(228,236,246) rgb(197,208,219) rgb(245,248,252);
}

/* ..... Carbon ..... */
#main-window[cfx-theme="cfxec"] #cfx-control-button[open="true"]:not([disabled="true"]),
#main-window[cfx-theme="cfxec"] #cfx-control-button:not([disabled="true"]):hover,
#main-window[cfx-theme="cfxec"] #cfx-tools-button[open="true"]:not([disabled="true"]),
#main-window[cfx-theme="cfxec"] #cfx-tools-button:not([disabled="true"]):hover {
  background: rgb(197,196,195);
	-moz-border-top-colors: rgb(90,90,90) rgb(197,196,195) !important;
	-moz-border-right-colors: rgb(90,90,90) rgb(197,196,195) !important;
	-moz-border-bottom-colors: rgb(90,90,90) rgb(197,196,195) !important;
	-moz-border-left-colors: rgb(90,90,90) rgb(197,196,195) !important;
}

/* ..... Blade ..... */
#main-window[cfx-theme="cfxeblade"] #cfx-control-button[open="true"]:not([disabled="true"]),
#main-window[cfx-theme="cfxeblade"] #cfx-control-button:not([disabled="true"]):hover,
#main-window[cfx-theme="cfxeblade"] #cfx-tools-button[open="true"]:not([disabled="true"]),
#main-window[cfx-theme="cfxeblade"] #cfx-tools-button:not([disabled="true"]):hover {
	-moz-border-top-colors: rgb(109,10,29) rgb(159,15,43);
	-moz-border-right-colors: rgb(109,10,29) rgb(159,15,43);
	-moz-border-bottom-colors: rgb(109,10,29) rgb(159,15,43);
	-moz-border-left-colors: rgb(109,10,29) rgb(159,15,43);
  background: rgb(137,13,37);
}

#cfx-control-button[disabled="true"],
#cfx-tools-button[disabled="true"] {
  opacity: 0.5; }

#main-window[cfx-theme="cfxe"] #cfx-tools-button {
  list-style-image: url("chrome://cfxhelper/skin/config.png");
}

#main-window[cfx-theme="cfxe"] #cfx-control-button {
  list-style-image: url("chrome://cfxhelper/skin/control-page.png");
}

#main-window[cfx-theme="cfxec"] #cfx-tools-button {
  list-style-image: url("chrome://cfxhelper/skin/config-carbon.png");
}

#main-window[cfx-theme="cfxec"] #cfx-control-button {
  list-style-image: url("chrome://cfxhelper/skin/control-page-carbon.png");
}

#main-window[cfx-theme="cfxeblade"] #cfx-tools-button {
  list-style-image: url("chrome://cfxhelper/skin/config-blade.png");
}

#main-window[cfx-theme="cfxeblade"] #cfx-control-button {
  list-style-image: url("chrome://cfxhelper/skin/control-page-blade.png");
}

/* ..... identity label ..... */
#main-window[cfx-theme][cfx-uiDisabled="true"] #cfx-identity-icon-label {
	display: none !important;
}

#main-window[cfx-theme] #cfx-identity-icon-label[value=""] {
	display: none;
}

#cfx-identity-icon-label {
	-moz-margin-start: 0;
	color: rgb(0,150,20);
}

/* ..... Identity Button ..... */

#main-window[cfx-theme][cfx-uiDisabled="true"] #cfx-identity-button {
	visibility: collapse !important;
}

#main-window[cfx-theme] #cfx-identity-button {
	padding: 0 2px;
	margin: 0 1px 1px 0 !important;
}

#main-window[cfx-theme] #urlbar[level] #cfx-identity-button {  
  list-style-image: url("chrome://cfxhelper/skin/security-button.png");
}

#main-window[cfx-theme] #urlbar[level] #cfx-identity-button:hover {
	list-style-image: url("chrome://cfxhelper/skin/security-button-hover.png");
}

/* ..... Identity Box ..... */

#main-window[cfx-theme][cfx-uiDisabled="true"] #identity-box {
	visibility: visible !important;
}

#main-window[cfx-theme] #identity-box {
  visibility: collapse;
}

/* ..... Star Button ..... */

#main-window[cfx-theme][cfx-uiDisabled="true"] #star-button {
	visibility: visible !important;
}

#main-window[cfx-theme] #star-button {
	visibility: collapse;
}

#main-window[cfx-theme]:not([cfx-uiDisabled]) #cfx-star-button {
  -moz-margin-start: -30px;
}

#main-window[cfx-theme][cfx-uiDisabled="true"] #cfx-star-button > hbox {
	visibility: collapse !important;
}

#main-window[cfx-theme] #cfx-star-button > hbox {
  border: none !important;
  padding: 0 2px 0 4px !important;
  max-width: 30px !important;
	width: 30px;
	height: 30px !important;
}

#main-window[cfx-theme="cfxe"] #cfx-star-button > hbox {
	background: transparent url("chrome://cfxhelper/skin/navbar-star-buttons.png") no-repeat 0 0 !important;
}

#main-window[cfx-theme="cfxe"] #cfx-star-button:hover > hbox {
  background-position: 0 -30px !important;
}

#main-window[cfx-theme="cfxe"] #cfx-star-button:hover:active > hbox {
  background-position: 0 -60px !important;
}

#main-window[cfx-theme="cfxe"] #cfx-star-button[starred="true"] > hbox {
  background-position: 0 -90px !important;
}

#main-window[cfx-theme="cfxe"] #cfx-star-button[starred="true"]:hover > hbox {
  background-position: 0 -120px !important;
}

#main-window[cfx-theme="cfxe"] #cfx-star-button[starred="true"]:hover:active > hbox {
  background-position: 0 -150px !important;
}

#main-window[cfx-theme="cfxe"] #urlbar[pageproxystate="invalid"] #cfx-star-button > hbox,
#main-window[cfx-theme="cfxe"] #urlbar[pageproxystate="invalid"] #cfx-star-button:hover:active > hbox,
#main-window[cfx-theme="cfxe"] #urlbar[pageproxystate="invalid"] #cfx-star-button:hover > hbox {
  background-position: 0 -180px !important;
}

#main-window[cfx-theme="cfxec"] #cfx-star-button > hbox {
	background: transparent url("chrome://cfxhelper/skin/navbar-cfxecstar-buttons.png") no-repeat 0 0 !important;
}

#main-window[cfx-theme="cfxec"] #cfx-star-button:hover > hbox {
  background-position: 0 -30px !important;
}

#main-window[cfx-theme="cfxec"] #cfx-star-button:hover:active > hbox {
  background-position: 0 -60px !important;
}

#main-window[cfx-theme="cfxec"] #cfx-star-button[starred="true"] > hbox {
  background-position: 0 -90px !important;
}

#main-window[cfx-theme="cfxec"] #cfx-star-button[starred="true"]:hover > hbox {
  background-position: 0 -120px !important;
}

#main-window[cfx-theme="cfxec"] #cfx-star-button[starred="true"]:hover:active > hbox {
  background-position: 0 -150px !important;
}

#main-window[cfx-theme="cfxec"] #urlbar[pageproxystate="invalid"] #cfx-star-button > hbox,
#main-window[cfx-theme="cfxec"] #urlbar[pageproxystate="invalid"] #cfx-star-button:hover:active > hbox,
#main-window[cfx-theme="cfxec"] #urlbar[pageproxystate="invalid"] #cfx-star-button:hover > hbox {
  background-position: 0 -180px !important;
}

#main-window[cfx-theme] #status-bar[cfx-statusbar="true"] > .statusbar-resizerpanel {
	-moz-appearance: none !important;
	min-width: 12px;
	border-top: 1px solid rgb(226,226,226) !important;
  border-right: 1px solid rgb(226,226,226) !important;
	-moz-border-radius-topright: 6px !important;;
}

#main-window[cfx-theme] #status-bar[cfx-statusbar="true"] > .statusbar-resizerpanel > resizer {
	-moz-appearance: none;
	background: none;
	cursor: pointer;
}

#main-window[cfx-glass] .tabbrowser-tabs {
	background: rgb(0,0,0) none !important;
}

#main-window[cfx-glass] .tab-text {
	opacity: 0.99 !important;
}